Esophageal-pressure guided mechanical ventilation